﻿
namespace IM.Easy.GenServices.Dtos
{
    /// <summary>
    /// 审计属性信息 Dto
    /// </summary>
    public class GenAuditPropertyDto
    {
        /// <summary>
        /// 唯一标识
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 关联表
        /// </summary>
        public Guid TableId { get; set; }

        /// <summary>
        /// 字段名称
        /// </summary>
        public string ColumnName { get; set; }

        /// <summary>
        /// 字段描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 数据库物理类型
        /// </summary>
        public string PhysicalType { get; set; }

        /// <summary>
        /// C# 数据类型
        /// </summary>
        public string DataType { get; set; }

        /// <summary>
        /// C# 字段
        /// </summary>
        public string FieldName { get; set; }

        /// <summary>
        /// 是否启用审计
        /// </summary>
        public bool Enable { get; set; }
    }
}
